<?php
//check1
namespace Home\Controller;
use Think\Controller;
use Think\Model;
use Home\Model\User;

class QuestionsController extends Controller {
    public function index(){
    	if(session('?user'))
    		$this->assign('user',I('session.user'));   			
    	$this->display();
    }
}